<?php 

namespace Home\Controller;
use Think\Controller;

/**
* 分类区
*/
class TopicController extends Controller
{

	public function index(){
	//分类话题区

		$sql = "SELECT `tname` from `theme`";

		$modle = M('theme');

		$result = $modle -> query($sql);

		$this->assign('result',$result);
			
		$this->display();
		
	}






}
?>